﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace WXFramework.Model
{
    public class RequestScanCodePushMessage : RequestEventMessage
    {
        public RequestScanCodePushMessage(XElement xml)
            : base(xml)
        {
            this.EventKey = xml.Element("EventKey").Value;
            this.ScanType = xml.Element("ScanCodeInfo").Element("ScanType").Value;
            this.ScanResult = xml.Element("ScanCodeInfo").Element("ScanResult").Value;
        }

        public string EventKey { get; set; }


        public string ScanType { get; set; }

        public string ScanResult { get; set; }



    }
}
